<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>添加栏目</title>
<load href="__PUBLIC__/css/admin_style.css"/>
<load href="__PUBLIC__/Js/jquery.js"/>
<script>
$(function(){
  $("#btn1").bind("click",function(event){
      $("#form1").submit();
	  $(this).attr("disabled",true);
  });
});
</script>
</head>

<body>{//公共上部}
<!-- layout::Admin:Syscolumn:inc_top::0 -->
<table border="0" cellspacing="0" cellpadding="0" > 
<form id="form1" name="form1" method="post" action="__URL__/insert/parid/{$parid}">
<tr><td colspan="3" align="center">添加栏目</td></tr>
  <tr>
    <td>栏目名称：</td>
    <td>
      <input name="col_name" type="text" id="col_name" />    </td>
    <td>*</td>
  </tr>
    <tr>
    <td>栏目英文名称：</td>
    <td>
      <input name="col_eng_name" type="text" id="col_eng_name" />    </td>
    <td>*建表使用</td>
  </tr>
  <tr>
    <td>栏目网址：</td>
    <td><input name="col_url" type="text" id="col_url" /></td>
    <td>*</td>
  </tr>
      <tr>
    <td>是否有搜索框：</td>
    <td><input name="is_search" type="checkbox" id="is_search" value="1" /></td>
    <td>*</td>
  </tr>
      <tr>
    <td>搜索框字段：</td>
    <td><input name="keyword_field" type="text" id="keyword_field" value="{$syscolumns.keyword_field}"/></td>
    <td>*文本框字段组|下拉框字段组例如：username,password|typeid,class_name</td>
  </tr>
  <tr>
    <td>操作列表：</td>
    <td><input name="action_field" type="text" id="action_field" value="{$syscolumns.action_field}"/></td>
    <td>*例:操作名称1|函数名称1,操作名称2|函数名称2  对应函数请写在diy_action.php中</td>
  </tr>
  <tr>
    <td colspan="3" align="center">
      <input type="submit"   id="btn1" name="btn1" value="添加"/>
    </div></td>
    </tr>
 </form>
</table>
</body>
</html>
